package cn.ito.zjgsu.mapping;

import java.util.List;

import cn.ito.zjgsu.domain.DepartmentPerson;

public interface DepartmentPersonMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DepartmentPerson record);

    int insertSelective(DepartmentPerson record);

    DepartmentPerson selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DepartmentPerson record);

    int updateByPrimaryKey(DepartmentPerson record);
    
    DepartmentPerson select(int departmentId, int staffId);
    
    List<DepartmentPerson> selectByDep(int departmentId);
    
    int delete(int departmentId, int staffId);
}
